PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.images Package / PDFPngImage Class / PDFPngImage Constructor / PDFPngImage Constructor(Stream,boolean)
PNG stream.
Performs fast PNG to PDF conversion for RGB only PNG images
In This Topic
    PDFPngImage Constructor(Stream,boolean)
    In This Topic
    Initializes a new object.
    When fastRgbConversion parameter is true, the zip compressed RGB image data in the PNG image is simply transfered to the PDF file as it is.
    Syntax
    public PDFPngImage( 
       Stream stream,
       boolean fastRgbConversion
    )

    Parameters

    stream
    PNG stream.
    fastRgbConversion
    Performs fast PNG to PDF conversion for RGB only PNG images
    See Also